package com.stedu.mall.common.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderDetail implements Serializable {
    private Integer id;
    private Integer count;//当前商品购买数量
    private BigDecimal price;//购买时的商品价格
    private String orderId;//所在订单的ID
    private Integer goodsId;//所买的商品的ID
    private Goods goods;//商品
}
